SET SRC_CLASS=.\classes
SET SRC_FOLDER=.\src
SET SRC_FILE=%SRC_FOLDER%\sg\edu\nus\iss\team4ft
SET SRC1=%SRC_FOLDER%\com\cloudgarden\layout\*.java
SET SRC2=%SRC_FILE%\exception\*.java
SET SRC3=%SRC_FILE%\manager\*.java
SET SRC4=%SRC_FILE%\service\*.java
SET SRC5=%SRC_FILE%\ui\*.java
SET SRC6=%SRC_FILE%\util\*.java

::Copying image and data files::
MKDIR "%SRC_CLASS%\Images"
MKDIR "%SRC_CLASS%\data"
copy "%SRC_FOLDER%\Images\*.*" "%SRC_CLASS%\Images"
copy ".\data\*.*" "%SRC_CLASS%\data"

call ".\setenv.bat"

::Compiling Codes::

"%JAVA_HOME%\bin\javac.exe" -d classes %SRC1% %SRC2% %SRC3% %SRC4% %SRC5% %SRC6%
pause
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 